package com.freedom.common.core.constant;

public interface RedisConstants {

    String BUSINESS_NO_PREFIX = "business_no:";

    String INVITE_CODE_ID = "ums:invite:code:id";

    String INVITE_CODE_Q = "ums:invite:code:index";


    /**
     * 短信验证码key前缀
     */
    String SMS_CODE_PREFIX = "system:sms:code:%s:%s";

    /**
     * 优惠券码KEY前缀
     */
    String SMS_COUPON_TEMPLATE_CODE_KEY = "sms_coupon_template_code_";

    /**
     * 用户当前所有可用优惠券key
     */
    String SMS_USER_COUPON_USABLE_KEY = "sms_user_coupon_usable_";

    /**
     * 用户当前所有已使用优惠券key
     */
    String SMS_USER_COUPON_USED_KEY = "sms_user_coupon_used_";

    /**
     * 用户当前所有已过期优惠券key
     */
    String SMS_USER_COUPON_EXPIRED_KEY = "sms_user_coupon_expired_";

    /**
     * 验证码key前缀
     */
    String VALIDATION_CODE_KEY_PREFIX = "system:captcha:%s";

}
